from rest_framework.generics import ListAPIView
from utils.response import APIResponse
from.import models,serializers

class BannerListAPIView(ListAPIView):
    queryset = models.Banner.objects.filter(is_delete=False,is_show=True).order_by('_orders')
    serializers_class = serializers.BannerModelSerializer